package com.cskaoyan.mapper;

import com.cskaoyan.bean.roleBeans.PermissionVo;

import java.util.ArrayList;
import java.util.List;

/**
 * @User: Yr
 * @Date: 2021/12/1 19:47
 * @Description: 对应数据库mall35中的market_auth表
 */

public interface AuthMapper {

    List<PermissionVo> selectByLevel(int level);

    List<PermissionVo.ChildrenData> selectChildByPid(int pid);

    List<PermissionVo.ChildrenData.GrandChildrenData> selectGrandChildByPid(int pid);

    List<String> selectPermissionsByLevel(int level);

    List<String> selectApiByNames(ArrayList<String> permissionNameList);
}
